{extend name="$member_style_layout" /}

{block name="title"}订单资料详情{/block}

{block name="content"}
<style>
.OrderInfo{
	background:#FFF;
	width:100%;
	overflow:hidden;
}
.OrderInfo .head{
	line-height:40px;
	position:relative;
	text-indent:30px;
	font-size:20px;
}
.OrderInfo .head:before{
	content:'';
	display:block;
	width:3px;
	height:20px;
	background:#F90;
	position:absolute;
	left:15px;
	top:10px;
	border-radius:2px;
}
.OrderInfo .shop dt,.orderinfo{
	height:35px;
	line-height:35px;
	background:#EFEFEF;
	border-top:#CCC solid 1px;
	text-indent:15px;
}
.OrderInfo .shop dd,.totalnomey,.OrderInfo .infos{
	border-top:#CCC solid 1px;
}
.OrderInfo ul{
	display:table;
	width:100%;
}
.OrderInfo ul ol,.OrderInfo ul li{
	display:table-cell;
	vertical-align:middle;
}
.OrderInfo .shop dd{
	padding:5px 10px;
}
.OrderInfo .shop dd ul ol a{
	display:block;
	line-height:20px;
	color:#369;
	padding:5px 0;
}
.OrderInfo .shop dd ul li{
	width:80px;
	padding:5px 0 5px 5px;
}
.OrderInfo .shop dd ul li span,.OrderInfo .shop dd ul li em{
	display:block;
	height:20px;
	line-height:20px;
	text-align:right;
	overflow:hidden;
}
.OrderInfo .shop dd ul li span{
	color:#AAA;
}
.totalnomey li{
	width:100px;
	text-align:right;
	height:50px;
	color:#F60;
	padding-right:10px;
}
.totalnomey ol{
	padding-left:15px;
}
.OrderInfo .infos ol{
	width:100px;
	height:40px;
	text-indent:15px;
	color:#999;
}
.OrderInfo .infos li{
	padding:5px;
	line-height:20px;
}
.BackBut{
	padding:10px 0 0 0;
}
.BackBut a{
	display:block;
	text-align:center;
	line-height:40px;
	background:#F90;
	color:#FFF;
}
</style> 
<div class="OrderInfo">
	<div class="head">用户订单详情</div>
	<dl class="shop">
		<dt>订购产品</dt>
		<dd>
{volist name="info.shop_db" id="rs"}
          <ul>
            <ol><a href="{:urls('content/show',['id'=>$rs['id']])}">{$rs.title}</a></ol>
			<li>
				<span>X{$rs._num}</span>
				<em>&yen;{$rs._price}</em>
			</li>
          </ul>
{/volist}
		</dd>
	</dl>
	<ul class="totalnomey">
		<ol>应付总额</ol>
		<li>&yen;{$info.totalmoney}</li>
	</ul>
	<div class="orderinfo">订单信息</div>
	<ul class="infos">
		<ol>订单号:</ol>
		<li>{$info.order_sn}</li>
	</ul>
	<ul class="infos">
		<ol>订购者ID:</ol>
		<li><a href="{:get_url('user',['uid'=>$info['uid']])}" target="_blank">{$info.uid|get_user_name}</a></li>
	</ul>
	<ul class="infos">
		<ol>订购时间:</ol>
		<li>{$info.create_time}</li>
	</ul>
	<ul class="infos">
		<ol>付款与否:</ol>
		<li>
{eq name="$info.pay_status" value="1"}
已付款
{else /}
 <a href="{:urls('pay',['id'=>$info['id']])}" title="点击在线支付">未付款</a>
{/eq}
	</li>
	</ul>


	<ul class="infos">
		<ol>联系人:</ol>
		<li>{$info.linkman}</li>
	</ul>
 
	<ul class="infos">
		<ol>联系电话:</ol>
		<li>{$info.telphone}</li>
	</ul>
 
	<ul class="infos">
		<ol>支付方式:</ol>
		<li>{$info.pay_name}</li>
	</ul>

	<ul class="infos">
		<ol>物流单号:</ol>
		<li>{$info.shipping_code}</li>
	</ul>
 
	<ul class="infos">
		<ol>附注留言:</ol>
		<li>{$info.user_note}</li>
	</ul>
 
	<div class="BackBut"><a href="{:urls('index')}">返回</a></div>
</div>

{/block}